home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / ELECTRON / PCB_DESI / H031A.ZIP / PADSDEMO / PADS.EXE / DRILL.DAT < prev    next >
Text File  |  1991-12-20  |  3KB  |  85 lines

  1. # This file specifies the N/C drill output format options.
  2. # The file is divided into two sections:-
  3. # 1) Drill Listing - which determines the format of the Drill Listing file.
  4. # 2) N/C Drill - which determines the format of the output file to drive the
  5. #    actual drill machine.
  6. # Each section has a header of the form: $<Section Name>.
  7. # The sections can be in any order but the section name must be preceeded by
  8. # a "$" character in the 1st column of a line.
  9. # Currently the only valid section names are "Drill Listing" and "N/C Drill".
  10. # Comments such as these may appear anywhere in the file so long as they
  11. # start with a "#" character in the 1st column.
  12. #
  13. # Each format option is identified by a 3 character mnemonic followed by a
  14. # colon ":".
  15. # A format option will either take a numeric value or a format string
  16. # immediately following the colon.
  17. # A format string specifies the exact text to be used within the drill
  18. # command that it is defining.
  19. # Format strings may contain the character "@" which indicates that a
  20. # numeric value or other data will be inserted at this point by the N/C Drill
  21. # software.
  22. # The character immediately following the "@" specifies the type of data to
  23. # be inserted as follows:-
  24. #    @d - Drill size        - valid in STS: only.
  25. #    @t - Tool number        - valid in STS: only.
  26. #    @f - Drill feed rate    - valid in STS: only.
  27. #    @s - Drill speed        - valid in STS: only.
  28. #    @x - Drill X co-ordinate    - valid in XYC: and SRC: only.
  29. #    @y - Drill Y co-ordinate    - valid in XYC: and SRC: only.
  30. #    @r - Step & Repeat section (if selected)    - valid in ETS: or EDF: only.
  31. #    @n - Start new line in output file            - valid in any format string.
  32. #
  33. # Note: the N/C Drill software only supplies the data types listed above.
  34. #          Any additional commands such as Rewind commands, Swap or Mirror
  35. #          axes commands must be inserted by the user in the apropriate format
  36. #          string.  The user should refer to his N/C Drill machine manual for
  37. #          details.
  38. #
  39. # The format options are as follows:-
  40. #    EIA: - Numeric value: 0 = ASCII output, 1 = EIA RS-244 output code.
  41. #    MET: - Numeric value: 0 = English units, 1 = Metric units.
  42. #    PRE: - Numeric value: number of fractional digits in co-ordinates
  43. #             assuming English units of inches or Metric units of millimetres.
  44. #    NDG: - Numeric value: total number of significant digits in co-ordinates.
  45. #    LTZ: - Numeric value: 0 = no zero suppression, 1 = suppress leading zeros,
  46. #             2 = suppress trailing zeros.
  47. #    INC: - Numeric value: 0 = absolute co-ordinates, 1 = incremental coords.
  48. #    SDF: - Format string: commands for start of drill file.
  49. #    STS: - Format string: commands for start of tool section.
  50. #    XYC: - Format string: commands for drill hole co-ordinates.
  51. #    ETS: - Format string: commands for end of tool section.
  52. #    EDF: - Format string: commands for end of drill file.
  53. #    SSR: - Format string: commands for start of Step & Repeat section.
  54. #    SRC: - Format string: commands for Step & Repeat offset co-ordinates.
  55. #    ESR: - Format string: commands for end of Step & Repeat section.
  56.  
  57. $Drill Listing
  58. EIA:0
  59. MET:0
  60. PRE:3
  61. NDG:5
  62. LTZ:1
  63. INC:0
  64. SDF:Drill Listing@n=============
  65. STS:Drill: @d  Tool: @t  Feed: @f  Speed: @s
  66. XYC:X @x  Y @y
  67. ETS:
  68. EDF:End of Listing
  69.  
  70. $N/C Drill
  71. EIA:0
  72. MET:0
  73. PRE:3
  74. NDG:5
  75. LTZ:2
  76. INC:0
  77. SDF:%
  78. STS:T@tF@fS@s
  79. XYC:X@xY@y
  80. SSR:M01
  81. SRC:M02X@xY@y
  82. ESR:M02@nM08
  83. EDF:@rM30
  84.  
  85.